package com.kdl.webconfig.vo.config;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 王成杰
 * @description TODO
 * @date 2022-09-14 下午8:13
 */
@Data
public class NewsDetailVO implements Serializable {

    @NotNull(message = "新闻id不能为空")
    private Integer newsId;

    private String title;

    private String date;

    private String htmlContent;
}
